home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Graphics Programming (2nd Edition)
/
Visual Basic Graphics Programming 2nd Edition.iso
/
Src
/
Ch17
/
MapCheck.ray
< prev
next >
Wrap
Text File
|
1999-07-09
|
1KB
|
48 lines
Viewpoint(1000, 2.2, -0.4)
AmbientLight(128, 128, 128)
LightSource(-1000, -500, 1000, 255, 255, 255)
LightSource(1000, -500, 1000, 255, 255, 255)
MappedCheckerboard(
' The texture file name (absolute or relative)
D:\Images\People1.bmp,
1, 1,
-80, -80, 80,
80, -80, 80,
-80, 80, 80,
1.0, ' Scale factor for ambient values
1.0, ' Scale factor for diffuse values
20, 0.35, ' Specular
0, 0, 0, ' Reflected
10, 1, 1, ' TransN, n1, n2
0, 0, 0 ' Transmitted
)
MappedCheckerboard(
' The texture file name (absolute or relative)
D:\Images\dog2s.bmp,
1, 1,
-80, -80, -80,
-80, -80, 80,
-80, 80, -80,
1.0, ' Scale factor for ambient values
1.0, ' Scale factor for diffuse values
20, 0.35, ' Specular
0, 0, 0, ' Reflected
10, 1, 1, ' TransN, n1, n2
0, 0, 0 ' Transmitted
)
MappedCheckerboard(
' The texture file name (absolute or relative)
D:\Images\Bldg1s.bmp,
1, 1,
-80, -80, -80,
80, -80, -80,
-80, -80, 80,
1.0, ' Scale factor for ambient values
1.0, ' Scale factor for diffuse values
20, 0.35, ' Specular
0, 0, 0, ' Reflected
10, 1, 1, ' TransN, n1, n2
0, 0, 0 ' Transmitted
)